package itheima.dao;

import itheima.entity.UserInfo;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

public interface UserInfoMapper {



    @Results({
            @Result(property = "userId",column = "user_id")
    })
    @Select("select * from t_user_info where user_id = #{id}")
    UserInfo selectInfoById(Integer id);

}
